package com.sunrise.vo.system.user;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.Set;

/**
 * @Author: liansen
 * @Date: 2024-02-03  17:23
 */
@Data
public class UserVO {

    private Long id;

    @NotBlank(message = "用户名不能为空")
    private String name;

    @NotBlank(message = "密码不能为空")
    private String password;

    private String avatar;

    private String description;

    private Integer status;

    private Long deptId;

    private Set<Long> postIds;

    private Integer sex;

}
